<template>
  <footer class="footer">
    <div class="footer-container">
      <!-- 主要内容区域 -->
      <div class="footer-content">
        <!-- 平台信息 -->
        <div class="footer-section">
          <h3 class="section-title">智盾清源</h3>
          <p class="section-desc">多模态AI反诈信息卫士</p>
          <p class="platform-desc">
            致力于应对数字时代的各种欺诈和虚假信息挑战，为用户提供全方位的信息可信度评估服务。
          </p>
        </div>

        <!-- 产品功能 -->
        <div class="footer-section">
          <h4 class="section-title">产品功能</h4>
          <ul class="link-list">
            <li><a href="/rumor-query" class="footer-link">谣言检测</a></li>
            <li><a href="#" class="footer-link">反诈骗预警</a></li>
            <li><a href="#" class="footer-link">AI内容识别</a></li>
            <li><a href="#" class="footer-link">声纹识别</a></li>
          </ul>
        </div>

        <!-- 帮助中心 -->
        <div class="footer-section">
          <h4 class="section-title">帮助中心</h4>
          <ul class="link-list">
            <li><a href="/knowledge" class="footer-link">知识学习</a></li>
            <li><a href="#" class="footer-link">使用指南</a></li>
            <li><a href="#" class="footer-link">常见问题</a></li>
            <li><a href="/about" class="footer-link">关于我们</a></li>
          </ul>
        </div>

        <!-- 联系我们 -->
        <div class="footer-section">
          <h4 class="section-title">联系我们</h4>
          <div class="contact-info">
            <p class="contact-item">
              <i class="icon-email"></i>
              <span>support@shieldpurity.com</span>
            </p>
            <p class="contact-item">
              <i class="icon-phone"></i>
              <span>400-123-4567</span>
            </p>
            <p class="contact-item">
              <i class="icon-location"></i>
              <span>北京市海淀区中关村大街1号</span>
            </p>
          </div>
        </div>
      </div>

      <!-- 分割线 -->
      <div class="footer-divider"></div>

      <!-- 底部信息 -->
      <div class="footer-bottom">
        <div class="copyright">
          <p>&copy; 2024 智盾清源：多模态AI反诈与信息卫士. 保留所有权利.</p>
        </div>
        <div class="footer-links">
          <a href="#" class="footer-link">隐私政策</a>
          <span class="separator">|</span>
          <a href="#" class="footer-link">服务条款</a>
          <span class="separator">|</span>
          <a href="#" class="footer-link">法律声明</a>
        </div>
      </div>
    </div>
  </footer>
</template>

<script>
export default {
  name: 'Footer'
}
</script>

<style scoped>
.footer {
  background: #1a1a1a;
  color: #ffffff;
  margin-top: auto;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 30px;
}

.footer-section {
  display: flex;
  flex-direction: column;
}

.section-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #ffffff;
}

.section-title:first-child {
  color: #2a5298;
}

.section-desc {
  font-size: 14px;
  color: #ffd700;
  margin-bottom: 10px;
}

.platform-desc {
  font-size: 14px;
  color: #cccccc;
  line-height: 1.6;
}

.link-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.link-list li {
  margin-bottom: 8px;
}

.footer-link {
  color: #cccccc;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #ffd700;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #cccccc;
}

.contact-item i {
  width: 16px;
  height: 16px;
  font-size: 16px;
}

.icon-email::before {
  content: "✉";
}

.icon-phone::before {
  content: "📞";
}

.icon-location::before {
  content: "📍";
}

.footer-divider {
  height: 1px;
  background: #333333;
  margin: 20px 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
}

.copyright {
  font-size: 14px;
  color: #999999;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 15px;
}

.separator {
  color: #666666;
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  
  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .footer-container {
    padding: 30px 15px 15px;
  }
  
  .footer-content {
    gap: 20px;
  }
  
  .section-title {
    font-size: 18px;
  }
}
</style> 